package com.ai.entity.alarm;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.beans.BeanUtils;

import java.util.Date;

/**
 * 页面查询返回值
 */
@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class RecordAlarm {

    /**
     * 主键,主键ID
     */
    private Long id;

    private Integer cameraId;

    /**
     * 功能表type
     */
    private String functionType;


    /**
     * 抓拍照片路径
     */
    private String snapPhoto;



    /**
     * 数据添加时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


    /**
     * 区域名
     */
    private String regionName;

}
